package cn.itlaobing.proxy;

public class UserDaoProxy implements UserDao {
	private UserDao target;
	
	

	public UserDaoProxy(UserDao target) {
		this.target = target;
	}



	@Override
	public void save(String name) {
		System.out.println("[日志]>>>>保存之前");
		target.save(name);
		System.out.println("[日志]>>>>保存之后");

	}

}
